package com.kfm.springmybatis.model;

import lombok.Data;
import org.apache.ibatis.type.Alias;

import java.io.Serializable;
import java.util.List;

/**
 * @TableName user
 */
@Data
@Alias("user")
public class User implements Serializable {
    private Integer id;

    private String username;

    private String password;

    private List<Role> roles;

    private static final long serialVersionUID = 1L;
}